package com.yuan.yblog.crud.entity;

import java.io.Serial;
import com.baomidou.mybatisplus.annotation.*;
import java.io.Serializable;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
* @author hepeiyuan
* @date 2024-06-04
*/
@Data
@TableName("oss_file")
@Schema(description = "oss文件表")
public class OssFile implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;

    @Schema(description = "主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @Schema(description = "文件路径")
    private String path;

    @Schema(description = "文件所属模块")
    private String module;

    @Schema(description = "文件所属模块数据主键")
    private Long moduleDataId;

    @Schema(description = "上次扫描时间")
    private Date scanTime;

    @Schema(description = "创建时间")
    private Date createdTime;

}